


using System;
using System.Data;
using System.Data.Common;
using PuntoMascotasWeb.BackEnd.BE;
using PuntoMascotasWeb.BackEnd.DAC;

namespace PuntoMascotasWeb.BackEnd.BC
{
  /// <summary>
  /// Business component para Estadia.
  /// </summary>
  /// <Date>2013-05-05T15:02:35</Date>
  /// <Author>Mx23</Author>
  public class EstadiaBC
  {
    /// <summary>
    /// Insert
    /// </summary>
    /// <param name="pEstadiaBE">EstadiaBE</param>
    /// <returns>void</returns>
    /// <Date>2013-05-05T15:02:35</Date>
    /// <Author>Mx23</Author>
    public static void Insert(EstadiaBE pEstadiaBE)
    {

      //(Optional) Implement your code here

      EstadiaDAC.Insert(pEstadiaBE);


    }
    /// <summary>
    /// Update
    /// </summary>
    /// <param name="pEstadiaBE">EstadiaBE</param>
    /// <returns>void</returns>
    /// <Date>2013-05-05T15:02:35</Date>
    /// <Author>Mx23</Author>
    public static void Update(EstadiaBE pEstadiaBE)
    {

      //(Optional) Implement your code here

      EstadiaDAC.Update(pEstadiaBE);


    }
    /// <summary>
    /// Delete
    /// </summary>
    /// <param name="pIdEstadia">IdEstadia</param>
    /// <returns>void</returns>
    /// <Date>2013-05-05T15:02:35</Date>
    /// <Author>Mx23</Author>
    public static void Delete(System.Int32 pIdEstadia)
    {

      //(Optional) Implement your code here

      EstadiaDAC.Delete(pIdEstadia);


    }
    /// <summary>
    /// GetAll
    /// </summary>

    /// <returns>DataSet</returns>
    /// <Date>2013-05-05T15:02:35</Date>
    /// <Author>Mx23</Author>
    public static DataSet GetAll()
    {

      //(Optional) Implement your code here


      return EstadiaDAC.GetAll();


    }
    /// <summary>
    /// GetByParam
    /// </summary>

    /// <returns>DataSet</returns>
    /// <Date>2013-05-05T15:02:35</Date>
    /// <Author>Mx23</Author>
    public static DataSet GetByParam(int pPageNum, int pPageSize)
    {

      //(Optional) Implement your code here


      return EstadiaDAC.GetByParam(pPageNum, pPageSize);


    }

  }
}